package org.jeecg.modules.nikeProject.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 文章内容表
 * @Author: jeecg-boot
 * @Date:   2025-03-07
 * @Version: V1.0
 */
@Data
@TableName("news")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="news对象", description="文章内容表")
public class News {

    /**id*/
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
    /**title*/
    @Excel(name = "title", width = 15)
    @ApiModelProperty(value = "title")
    private String title;
    /**description*/
    @Excel(name = "description", width = 15)
    @ApiModelProperty(value = "description")
    private String description;
    /**state*/
    @Excel(name = "state", width = 15)
    @ApiModelProperty(value = "state")
    private Integer state;
    /**channel*/
    @Excel(name = "channel", width = 15)
    @ApiModelProperty(value = "channel")
    private String channel;
    /**subChannel*/
    @Excel(name = "subChannel", width = 15)
    @ApiModelProperty(value = "subChannel")
    private String subChannel;
    /**thumb*/
    @Excel(name = "thumb", width = 15)
    @ApiModelProperty(value = "thumb")
    private String thumb;
    /**pdf*/
    @Excel(name = "pdf", width = 15)
    @ApiModelProperty(value = "pdf")
    private String pdf;
    /**tagList*/
    @Excel(name = "tagList", width = 15)
    @ApiModelProperty(value = "tagList")
    private String tagList;
    /**body*/
    @Excel(name = "body", width = 15)
    @ApiModelProperty(value = "body")
    private Object body;
    /**pubDate*/
    @Excel(name = "pubDate", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "pubDate")
    private java.util.Date pubDate;
    /**top*/
    @Excel(name = "top", width = 15)
    @ApiModelProperty(value = "top")
    private Integer top;
    /**createTime*/
    @Excel(name = "createTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "createTime")
    private java.util.Date createTime;
    /**updateTime*/
    @Excel(name = "updateTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "updateTime")
    private java.util.Date updateTime;
    /**remark*/
    @Excel(name = "remark", width = 15)
    @ApiModelProperty(value = "remark")
    private String remark;
    /**delFlag*/
    @Excel(name = "delFlag", width = 15)
    @ApiModelProperty(value = "delFlag")
    private Integer delFlag;
    /**selectionApplyId*/
    @Excel(name = "selectionApplyId", width = 15)
    @ApiModelProperty(value = "selectionApplyId")
    private Integer selectionApplyId;
    /**school*/
    @Excel(name = "school", width = 15)
    @ApiModelProperty(value = "school")
    private String school;
    /**name*/
    @Excel(name = "name", width = 15)
    @ApiModelProperty(value = "name")
    private String name;
}
